<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>用户注册</title>
<link rel="stylesheet" href="<!--{$CSSURL}-->common.css" type="text/css" media="screen" />
<script src="<!--{$JSURL}-->jquery-1.7.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="<!--{$JSURL}-->common.js"></script>
<link href="<!--{$JSURL}-->artDialog/skins/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<!--{$JSURL}-->artDialog/jquery.artDialog.js"></script>
<script type="text/javascript" src="<!--{$JSURL}-->artDialog/iframeTools.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#protocol").click(function(){
		if($("#protocol:checked").val()){
			$("#dosubmit").removeAttr("style");
			$("#dosubmit").removeAttr("disabled");
		}else{
			$("#dosubmit").attr("style", "background-image:none;color:#000000;background-color:#EEEEEE;");
			$("#dosubmit").attr("disabled" , "disabled");
		}
	});
	
	if ($("#protocol:checked").val()){
		$("#dosubmit").removeAttr("style");
		$("#dosubmit").removeAttr("disabled");
	}else{
		$("#dosubmit").attr("style", "background-image:none;color:#000000;background-color:#EEEEEE;");
		$("#dosubmit").attr("disabled" , "disabled");
	}
});
</script>
</head>
<body>
	<!--{include file='header.htm'}-->
	<div class="wrap">
		<div class="clear"></div>
		<div id="logindiv" class="form-login">
			<form name="myForm" id="myForm" action="" method="post">
			<input type="hidden" value="" id="forward" name="forward" />
			    	<h2>会员注册</h2>
			    	<div class="input">
						<label>用户名：</label>
						<input type="text" class="input-text width300" size="22" name="username" id="username" />
						<span id="usernameTip"></span>
					</div>
			        <div class="input">
						<label>密码：</label>
						<input type="password" class="input-text width300" size="22" name="password" id="password" />
						<span id="passwordTip"></span>
					</div>
			        <div class="input">
						<label>确认密码：</label>
						<input type="password" class="input-text width300" size="22" name="confirm_password" id="confirm_password" />
						<span id="passwordTip"></span>
					</div>
					<div class="input">
						<label>Email：</label>
						<input type="text" class="input-text width300" size="22" name="email" id="email" />
						<span id="passwordTip"></span>
					</div>
					<div class="input">
			        	<label>验证码：</label>
			        	<input type="text" class="input-text width100" size="10" name="code" id="code" />
			        	<img src="<!--{$SITEURL}-->/index.php?c=captcha" onclick="this.src=this.src+&quot;&amp;&quot;+Math.random()" id="code_img" />
			        </div>
					<div class="input">
						<label> </label>
						<input type="checkbox" value="1" id="protocol" name="protocol" />
		                <a class="blue" onclick="show_protocol();return false;" href="javascript:void(0);">点击阅读注册协议</a>
		            	<span id="protocoltip"></span>
					</div>
			        <div class="take">
						<div class="submit">
							<input type="submit" value="注册" id="dosubmit" name="dosubmit" disabled="disabled" style="background-image:none;color:#000000;background-color:#EEEEEE;" />
						</div>
					</div>
			</form>
			</div>
	</div>
</body>
</html>